﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace UpdateManager.UserControls {
    /// <summary>
    /// ItemDetails.xaml 的交互逻辑
    /// </summary>
    public partial class ItemDetails : UserControl {

        //public event EventHandler<EventArgs> Colse = null;
         
        public string Title {
            get {
                return this.txtTitle.Text;
            }
            set {
                this.txtTitle.Text = value;
            }
        }

        public string Details {
            get {
                return this.txtDetails.Text;
            }
            set {
                this.txtDetails.Text = value;
            }
        }

        public ItemDetails() {
            InitializeComponent();
            
            //this.imgClose.MouseDown += new MouseButtonEventHandler(imgClose_MouseDown);
        }
    }
}
